Queries and Algorithms Computable by Polynomial Time Existential Reeective Machines Extended Abstract for Pods'97 Submission
نویسنده
چکیده
We consider two kinds of reeective relational machines: the usual ones, which use rst order queries, and existential reeective machines, which use only rst order existential queries. We compare these two computation models. We build on already existing results for standard relational machines, obtained by Abiteboul, Papadimitriou and Vianu APV], so we prove only results for existential machines. First we show that for both standard and existential reeective machines the set of polynomial time computable Boolean queries consists precisely of all PSPACE computable queries. The we go farther and compare which classes of algorithms both kinds of machines represent. It appears that, unless PSPACE = PTIME NP ; there are PSPACE queries which cannot be computed by polynomial time existential reeective machines which use only polynomial amount of relational memory, while it is always possible for standard reeective machines. We conclude that existential reeective machines, although equivalent in expressive power to unrestricted machines, provide substantially worse algorithms than the latter. On the positive side, we demonstrate that the above quality diierence does not aaect computing of PTIME queries, what can be done by existential reeective machines in PTIME; even if we take into account query evaluation costs, as well. Therefore within PTIME we use ner distinctions of the quality of algorithms. We demonstrate that any existential reeective machine computing the transitive closure query must use at least (1 ? o(1)) log n variables, while for reeective relational machines using full rst order queries already 3 variables suuce.
منابع مشابه
A Unified Approach for Design of Lp Polynomial Algorithms
By summarizing Khachiyan's algorithm and Karmarkar's algorithm forlinear program (LP) a unified methodology for the design of polynomial-time algorithms for LP is presented in this paper. A key concept is the so-called extended binary search (EBS) algorithm introduced by the author. It is used as a unified model to analyze the complexities of the existing modem LP algorithms and possibly, help ...
متن کاملInfinite Oracle Queries in Type-2 Machines (Extended Abstract)
We define Oracle-Type-2-Machine capable of writing infinite oracle queries. In contrast to finite oracle queries, this extends the realm of oracle-computable functions into the discontinuous realm. Our definition is conservative; access to a computable oracle does not increase the computational power. Other models of real hypercomputation such as Ziegler’s (finitely) revising computation or Typ...
متن کاملThe Complexity of Query
The reliability of database queries on databases with uncertain information is studied, on the basis of a probabilistic model for unreliable databases. While it was already known that the reliability of quantiier-free queries is computable in polynomial time, we show here that already for conjunctive queries, the reliability may become highly intractable. We exhibit a conjunctive query whose re...
متن کاملScheduling of pipelined operator graphs
We investigate a class of scheduling problems that arise in the optimization of SQL queries for parallel machines (Chekuri et al. in PODS’95, pp. 255–265, 1995). In these problems, an undirected graph is used to represent communication and inter-operator parallelism. The goal is to minimize the global response time of the system. We provide a polynomial time approximation scheme for the special...
متن کاملUniversal (and Existential) Nulls
Incomplete Information research is quite mature when it comes to so called existential nulls, where an existential null is a value stored in the database, representing an unknown object. For some reason universal nulls, that is, values representing all possible objects, have received almost no attention. We remedy the situation in this paper, by showing that a suitable finite representation mec...
متن کامل